home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form frmTest4
- BorderStyle = 0 'None
- ClientHeight = 2820
- ClientLeft = 0
- ClientTop = 0
- ClientWidth = 3396
- ControlBox = 0 'False
- LinkTopic = "Form2"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2820
- ScaleMode = 0 'User
- ScaleWidth = 3500
- ShowInTaskbar = 0 'False
- Begin VB.CheckBox chkSysMenu
- Caption = "SysMenu"
- Height = 192
- Left = 180
- TabIndex = 5
- Top = 1320
- Width = 2712
- End
- Begin VB.CheckBox chkVisible
- Caption = "Visible"
- Height = 192
- Left = 180
- TabIndex = 4
- Top = 1620
- Width = 2712
- End
- Begin VB.CheckBox chkChild
- Caption = "Child"
- Height = 192
- Left = 180
- TabIndex = 3
- Top = 720
- Width = 2712
- End
- Begin VB.CheckBox chkCaption
- Caption = "Caption"
- Height = 192
- Left = 180
- TabIndex = 2
- Top = 420
- Width = 2712
- End
- Begin VB.CheckBox chkBorder
- Caption = "Border"
- Height = 192
- Left = 180
- TabIndex = 1
- Top = 120
- Width = 2712
- End
- Begin VB.CheckBox chkDisabled
- Caption = "Disabled"
- Height = 192
- Left = 180
- TabIndex = 0
- Top = 1020
- Width = 2712
- End
- Attribute VB_Name = "frmTest4"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Public Sub RefreshStyles()
- Dim w As sgWindow.Window
- Set w = frmMain.g_wndTest
- chkBorder.Value = IIf(w.Style And ws_BORDER, 1, 0)
- chkCaption.Value = IIf(w.Style And ws_CAPTION, 1, 0)
- chkChild.Value = IIf(w.Style And ws_CHILD, 1, 0)
- chkDisabled.Value = IIf(w.Style And ws_DISABLED, 1, 0)
- chkSysMenu.Value = IIf(w.Style And ws_SYSMENU, 1, 0)
- chkVisible.Value = IIf(w.Style And ws_VISIBLE, 1, 0)
- End Sub
-